package com.example.dao;

import com.example.entity.Message;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
* @author 123
* @description 针对表【message】的数据库操作Mapper
* @createDate 2024-06-04 11:09:02
* @Entity generator.domain.Message
*/
@Repository
public interface MessageMapper extends Mapper<Message> {
    List<Message> getByUserId(@Param("senderId") Integer senderId, @Param("receiverId") Integer receiverId);
}
